package org.keyuan.service.impl;

import org.keyuan.dao.BuyerDao;
import org.keyuan.entity.Buyer;
import org.keyuan.service.BuyerService;

public class BuyerServiceImpl extends ServiceSupport<Buyer> implements
		BuyerService {
	private BuyerDao buyerDao;

	public Buyer login(Buyer buyer) {
		return buyerDao.login(buyer);
	}

	public void setBuyerDao(BuyerDao buyerDao) {
		this.buyerDao = buyerDao;
		this.dao = this.buyerDao;
	}
}
